home *** CD-ROM | disk | FTP | other *** search
/ Mac Easy 2010 May / Mac Life Ubuntu.iso / casper / filesystem.squashfs / usr / share / checkbox / plugins / final_prompt.pyc (.txt) < prev    next >
Encoding:
Python Compiled Bytecode  |  2009-10-12  |  976 b   |  19 lines

  1. # Source Generated with Decompyle++
  2. # File: in.pyc (Python 2.6)
  3.  
  4. from gettext import gettext as _
  5. from checkbox.plugin import Plugin
  6.  
  7. class FinalPrompt(Plugin):
  8.     
  9.     def register(self, manager):
  10.         super(FinalPrompt, self).register(manager)
  11.         self._manager.reactor.call_on('prompt-finish', self.prompt_finish)
  12.  
  13.     
  14.     def prompt_finish(self, interface):
  15.         interface.show_final(_('Successfully sent information!'))
  16.  
  17.  
  18. factory = FinalPrompt
  19.